package com.hourses.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 采购单
 * buy_list
 */
@Data
public class Purchase implements Serializable {
    private Integer buyId;

    private Integer productId;

    private Integer storeId;

    private Integer buyNum;

    private Integer factBuyNum;

    @JsonFormat(pattern = "yyyy_MM_dd HH:mm:ss")
    private Date buyTime;

    private Integer supplyId;

    private Integer placeId;

    private String buyUser;

    private String phone;

    /**
     * 0 否 1 是
     */
    private String isIn;

    //--------------------------------以下为追加的属性---------------------------------------
    private String startTime;
    private String endTime;
    private String productName;

    private static final long serialVersionUID = 1L;
}